package com.ecb.business.repository;

import com.ecb.business.po.ChainAuditPO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

@Repository
public interface ChainAuditDao extends JpaRepository<ChainAuditPO, Integer> {


    List<ChainAuditPO> findAllByOperateTargetAndOperateType(String operateTarget, String operateType);

    List<ChainAuditPO> findAllByCreateTimeBetweenAndOperateTarget(Date startTime, Date endTime, String operateTarget);
}
